<?php
namespace backend\controllers;

use Yii;
use yii\web\Controller;

/**
 * Site controller
 */
class DemoController extends Controller
{
    public $layout = 'common';
    public function actionDemo()
    {
        return $this->render('demo');
    }
    public function actionIndex()
    {
        return $this->renderPartial('index');
    }
}